package com.recsmile.sgs.client.commonds;

import com.recsmile.sgs.client.card.Card;
import com.recsmile.sgs.client.controller.PeachUsableGameController;
import com.recsmile.sgs.client.entity.Game;

public class UsePeachInGameServerCommand extends InGameServerCommand {

	private static final long serialVersionUID = 9088626402130251064L;
	
	private final Card card;

	public UsePeachInGameServerCommand(Card card) {
		this.card = card;
	}

	@Override
	public void execute(Game game) {
		game.<PeachUsableGameController>getGameController().onPeachUsed(card);
	}

}